#ifndef __DATATYPE_H__
#define __DATATYPE_H__

struct lcd_info
{
    int fd;
    int width;
    int height;
    int bpp;
    int screensize;
    char *fb_mem; // 显存的入口
};

struct img_info
{
    char name[50];
    int width;
    int height;
    int bpp;
    int size;
    char *rgb; // rgb的存储入口
};

typedef struct node
{
    struct img_info *data;
    // enum imgfmt fmt;
    int n;
    struct node *prev;
    struct node *next;
}node,*piclink;


#endif